package com.always.electrical.energy.web.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 设备表
 */
@Data
@Accessors(chain = true)
@TableName("efbs_maint_measurement")
public class EfbsMaintMeasurement implements Serializable {

    private BigDecimal id;

    // 设备名称
    private String name;

    // 终端id，和终端表主键对应
    private BigDecimal tmlId;

    private String mobjectType;

    private BigDecimal mobjectId;

    private String roleCode;

    // 通信地址
    private String metercomid;

    private String assetNo;

    private String ruleType;

    private Integer mp;

    private String usertype;

    private String metertype;

    private String pt;

    private String ct;

    private String extendfield1;

    private String extendfield2;

    private String extendfield3;

    private String extendfield4;

    private String extendfield5;

    private String extendfield6;

    private String extendfield7;

    private String extendfield8;

    private String extendfield9;

    private String extendfield10;

    private Long sortcode;

    private String description;

    private Long enabled;

    private BigDecimal createorgid;

    private LocalDateTime createon;

    private BigDecimal createuser;

    private LocalDateTime modifiedon;

    private BigDecimal modifieduser;

    private String runStatusCode;

    private String port;

    private String baudrate;

    private String manufacturerid;

    // 设备类型（物模型）
    // Sensor 环境量采集物模型
    // ChargingPile 充电桩
    // ADC 总表
    // EndTerminal LTU
    // Merter 户表
    // TTU 边设备（融合终端）
    // PVInverter 光伏逆变器
    // MCCB 智能断路器
    // SVG SVG
    // mppt mppt
    // PCS PCS
    // Thr_Dispatch 微网控制器
    // EnergyStorageUnit 储能
    private String model;

    private String nodeid;

    private String deviceid;

    private String clr;

    private String energyStationName;

    private String energyStationCommAddr;

    private BigDecimal mpptCap;

    private BigDecimal mpptPvCap;

    private BigDecimal svgcCap;
}
